package com.duan.boot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName("oa_news")
public class News {
    @TableId(type = IdType.AUTO)
    private Long newsId;

    @TableField("news_title")
    private String newsTitle;

    @TableField("news_type")
    private int newsType;

    @TableField("news_content")
    private String newsContent;

    @TableField("news_sendTime")
    private Date newsSendTime;

    @TableField("news_sender")
    private String newsSender;

    @TableField("news_addr")
    private String newsAddr;
}
